<table id="article_list">
<tr>
{# sorting of properties based on query components #}    
    <th{% if pagination.isSorted('a.Title') %} class="sorted"{% endif %} width="200px">{{ knp_pagination_sortable(pagination, 'Title', 'a.title') }}</th>
    <th>Content</th>
    <th width="200px">Author</th>    
</tr>

{# table body #}
{% for article in pagination %}
<tr {% if loop.index is odd %}class="color"{% endif %}>    
	
    <td><a href="{{ path('inter_article_show', { 'slug': article.slug }) }}">{{ article.title }}</a></td>
    <td>{{ article.content }}</td>
    <td style="text-align: center;">{{ article.author.userName }}</td>  
</tr>
{% else %}
	<tr><td colspan="2"><p>There are no article entries for symblog</p></td></tr>
{% endfor %}
</table>
{# display navigation #}
<div class="navigation">
    {{ knp_pagination_render(pagination) }}
</div>